# -*- coding: utf-8 -*-

"""
工具库：gitmodules 解析
"""

import os


def find_md(directory):
    """ 遍历目录 """
    mds = []
    # if
    for i in os.listdir(directory):
        if os.path.isfile(os.path.join(directory, i)) and i.endswith('.md'):
            print i
